package com.yuexunit.finance.member.entity;
/**
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.member.entity.lexicon.AuditStateEnum;
import com.yuexunit.finance.member.entity.lexicon.EnterpriseTypeEnum;
import com.yuexunit.finance.member.entity.lexicon.StateEnum;

/**
 * @ClassName: EnterpriseMiddleTableEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author 
 * @date 
 */
@Entity
@Table(name = "FIN_MIDDLE_TABLE")
public class EnterpriseModifyEntity {

	/** 中间表ID */
	@Id
	@GeneratedValue
	@Column(name = "AUTHENTICATION_ID")
	private Long authenticationId;
	
	/** 企业信息ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;
	/** 单位类型 */
	@Column(name="UNIT_TYPE_ID")
	private String unitTypeId;
	
	/** 证件类型 */
	@Column(name="SCARDTYPE")
	private String scardType;

	/** 企业名称 */
	@Column(name = "ENTERPRISE_NAME")
	private String enterpriseName;
	
	/** 社会统一信用代码  */
	@Column(name="CODEUSC")
	private String codeUSC;
	
	/** 组织机构代码 */
	@Column(name = "CERTIFICATE")
	private String certificate;
	
	/** 营业执照 */
	@Column(name = "BUSINESS_LICENCE")
	private String businessLicence;
	
	/** 营业执照所在地 */
	@Column(name = "ADDRESS")
	private String address;
	
	/** 联系地址 */
	@Column(name = "CONTACT_ADDRESS")
	private String contactAddress;

	/** 企业经营范围 */
	@Column(name = "BUSINESS_SCOPE")
	private String businessScope;
	
	/** 注册资金 */
	@Column(name = "REGISTERED_CAPITAL")
	private String registeredCapital;
	
	/**  营业期限 */
	@Column(name = "BUSINESS_TIME_LIMIT")
	private String businessTimeLimit;
	
	/** 客户类型 0-客户;1-分销商 */
	@Column(name = "ENTERPRISE_TYPE")
	private EnterpriseTypeEnum enterpriseType;
	
	/** 省 */
	@Column(name = "PROVINCE")
	private String province;
	
	/** 市 */
	@Column(name = "CITY")
	private String city;
	
	/** 区 */
	@Column(name = "DISTRICT")
	private String district;
	
	/** 经营类型 */
	@Column(name = "BUSINESS_TYPE")
	private String businessType;

	/** 客户邀请码 */
	@Column(name = "BELONGS_ENTERPRISE_CODE")
	private String belongsEnterpriseCode;
	
	/** 代销码 */
	@Column(name = "PROXY_SALE_CODE")
	private String proxySaleCode;
	
	/** 填写人身份  */
	@Column(name="SUSERTYPE")
	private String sUserType;

	/** 法人代表 */
	@Column(name = "LEGAL_PERSON")
	private String legalPerson;

	/** 法人身份证号 */
	@Column(name = "LEGAL_IDCARD")
	private String legalIdcard;

	/** 证件有效期 */
	@Column(name = "LEGAL_PERIOD")
	private String legalPeriod;
		
	/** 法定代表人归属地区  */
	@Column(name="LEGALAREA")
	private String legalArea;
	
	/** 委托代理人 */
	@Column(name = "PROCURATOR")
	private String procurator;

	/** 委托代理人身份证 */
	@Column(name = "PROCURATOR_IDCARD")
	private String procuratorIdcard;

	/** 委托证件有效期 */
	@Column(name = "PROCURATOR_PERIOD")
	private String procuratorPeriod;
	
	/** 银行卡号 */
	@Column(name = "CREDIT_CARD")
	private String creditCard;
	
	/** 开户名 */
	@Column(name = "ACCOUNT_HOLDER")
	private String accountHolder;
	
	/** 开户行名称 */
	@Column(name = "DEPOSIT_BANK")
	private String depositBank;

	/** 银行支行 */
	@Column(name="SUBBRANCH")
	private String subbranch;


	/** 营业执照图片 xxxxxxxxxxxxxxxxxxxxxxxx*/
	@Column(name = "BUSINESS_LICENCE_IMAGE")
	private String businessLicenceImage;

	/** 组织机构代码图片 xxxxxxxxxxxxxxxxxxxxx*/
	@Column(name = "CERTIFICATE_IMAGE")
	private String certificateImage;

	/** 法人代表正面照 xxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
	@Column(name = "LEGAL_PERSON_FRONT_IMAGE")
	private String legalPersonFrontImage;

	/** 法人代表反面照 xxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
	@Column(name = "LEGAL_PERSON_BACK_IMAGE")
	private String legalPersonBackImage;

	/** 公司资质图片 */
	@Column(name = "QUALIFICATIONS_IMAGE")
	private String qualificationsImage;
	
	/** 信用报告图片*/
	@Column(name = "CREDIT_REPORT_IMAGE")
	private String creditReportImage;
	
	/** 更新时间 */
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;
	
	/** 审核状态 0:未知/1:未审核/2:审核通过/3:审核拒绝 */
	@Column(name = "AUDIT_STATE")
	private AuditStateEnum auditState;
	
	/** 状态 0:未知/1:有效/2:禁用 */
	@Column(name = "STATE")
	private StateEnum state;
	
	/** 修改时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	public Long getAuthenticationId() {
		return authenticationId;
	}

	public void setAuthenticationId(Long authenticationId) {
		this.authenticationId = authenticationId;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public StateEnum getState() {
		if (null == auditState) {
			return StateEnum.UNKNOWN;
		}
		return state;
	}

	public void setState(StateEnum state) {
		this.state = state;
	}

	public AuditStateEnum getAuditState() {
		if(null == auditState){
			return AuditStateEnum.UNKNOWN;
		}
		return auditState;
	}

	public void setAuditState(AuditStateEnum auditState) {
		this.auditState = auditState;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getUnitTypeId() {
		return unitTypeId;
	}

	public void setUnitTypeId(String unitTypeId) {
		this.unitTypeId = unitTypeId;
	}

	public String getScardType() {
		return scardType;
	}

	public void setScardType(String scardType) {
		this.scardType = scardType;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public String getCodeUSC() {
		return codeUSC;
	}

	public void setCodeUSC(String codeUSC) {
		this.codeUSC = codeUSC;
	}

	public String getCertificate() {
		return certificate;
	}

	public void setCertificate(String certificate) {
		this.certificate = certificate;
	}

	public String getBusinessLicence() {
		return businessLicence;
	}

	public void setBusinessLicence(String businessLicence) {
		this.businessLicence = businessLicence;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContactAddress() {
		return contactAddress;
	}

	public void setContactAddress(String contactAddress) {
		this.contactAddress = contactAddress;
	}

	public String getBusinessScope() {
		return businessScope;
	}

	public void setBusinessScope(String businessScope) {
		this.businessScope = businessScope;
	}

	public String getRegisteredCapital() {
		return registeredCapital;
	}

	public void setRegisteredCapital(String registeredCapital) {
		this.registeredCapital = registeredCapital;
	}

	public String getBusinessTimeLimit() {
		return businessTimeLimit;
	}

	public void setBusinessTimeLimit(String businessTimeLimit) {
		this.businessTimeLimit = businessTimeLimit;
	}

	public EnterpriseTypeEnum getEnterpriseType() {
		return enterpriseType;
	}

	public void setEnterpriseType(EnterpriseTypeEnum enterpriseType) {
		this.enterpriseType = enterpriseType;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public String getBelongsEnterpriseCode() {
		return belongsEnterpriseCode;
	}

	public void setBelongsEnterpriseCode(String belongsEnterpriseCode) {
		this.belongsEnterpriseCode = belongsEnterpriseCode;
	}

	public String getProxySaleCode() {
		return proxySaleCode;
	}

	public void setProxySaleCode(String proxySaleCode) {
		this.proxySaleCode = proxySaleCode;
	}

	public String getsUserType() {
		return sUserType;
	}

	public void setsUserType(String sUserType) {
		this.sUserType = sUserType;
	}

	public String getLegalPerson() {
		return legalPerson;
	}

	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}

	public String getLegalIdcard() {
		return legalIdcard;
	}

	public void setLegalIdcard(String legalIdcard) {
		this.legalIdcard = legalIdcard;
	}

	public String getLegalPeriod() {
		return legalPeriod;
	}

	public void setLegalPeriod(String legalPeriod) {
		this.legalPeriod = legalPeriod;
	}

	public String getLegalArea() {
		return legalArea;
	}

	public void setLegalArea(String legalArea) {
		this.legalArea = legalArea;
	}

	public String getProcurator() {
		return procurator;
	}

	public void setProcurator(String procurator) {
		this.procurator = procurator;
	}

	public String getProcuratorIdcard() {
		return procuratorIdcard;
	}

	public void setProcuratorIdcard(String procuratorIdcard) {
		this.procuratorIdcard = procuratorIdcard;
	}

	public String getProcuratorPeriod() {
		return procuratorPeriod;
	}

	public void setProcuratorPeriod(String procuratorPeriod) {
		this.procuratorPeriod = procuratorPeriod;
	}

	public String getCreditCard() {
		return creditCard;
	}

	public void setCreditCard(String creditCard) {
		this.creditCard = creditCard;
	}

	public String getAccountHolder() {
		return accountHolder;
	}

	public void setAccountHolder(String accountHolder) {
		this.accountHolder = accountHolder;
	}

	public String getDepositBank() {
		return depositBank;
	}

	public void setDepositBank(String depositBank) {
		this.depositBank = depositBank;
	}

	public String getSubbranch() {
		return subbranch;
	}

	public void setSubbranch(String subbranch) {
		this.subbranch = subbranch;
	}

	public String getBusinessLicenceImage() {
		return businessLicenceImage;
	}

	public void setBusinessLicenceImage(String businessLicenceImage) {
		this.businessLicenceImage = businessLicenceImage;
	}

	public String getCertificateImage() {
		return certificateImage;
	}

	public void setCertificateImage(String certificateImage) {
		this.certificateImage = certificateImage;
	}

	public String getLegalPersonFrontImage() {
		return legalPersonFrontImage;
	}

	public void setLegalPersonFrontImage(String legalPersonFrontImage) {
		this.legalPersonFrontImage = legalPersonFrontImage;
	}

	public String getLegalPersonBackImage() {
		return legalPersonBackImage;
	}

	public void setLegalPersonBackImage(String legalPersonBackImage) {
		this.legalPersonBackImage = legalPersonBackImage;
	}

	public String getQualificationsImage() {
		return qualificationsImage;
	}

	public void setQualificationsImage(String qualificationsImage) {
		this.qualificationsImage = qualificationsImage;
	}

	public String getCreditReportImage() {
		return creditReportImage;
	}

	public void setCreditReportImage(String creditReportImage) {
		this.creditReportImage = creditReportImage;
	}


}

